﻿/// <reference path='../../typings/angularjs/angular.d.ts'/>
/// <reference path="ICommonDto.ts" />
/// <reference path="IGuidNameDto.ts" />

interface IStaticObjects {
    apiBaseUrl: string;
    authBaseUrl: string;
    getMessageByInternalCode: (internalCode: number) => string;
    getErrorMesageByStatusCode: any;
    errorCallback: (error, status, internalCode: number) => void;
    initSignalR: () => void;
    clearUserInfo: () => void;
    redirectToLogin: () => void;
    redirectToDefault: (redirectTo?: string) => void;
    authDataIsExpired: (authData: Sustainalytics.Authentication.AuthData) => boolean;
    resourcePermissions: string;
    eventsServiceBaseUrl: string;
    redirectToLink: (link: string) => void;
}  